//
//  ASJSkillMonsterAttack.m
//  ASJ001
//
//  Created by zephyrhan on 11/26/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import "ASJSkillMonsterAttack.h"
#import "ASJActor.h"


@implementation ASJSkillMonsterAttack

- (void)skillEffect {
    effectStage.theActor.currentHP -= skillPowser;
    
    if (effectStage.theActor.currentHP > 0) {
        [effectStage.theActor runSkillByName:@"actor_suffer" frameCount:6];
    } else {
        [effectStage.theActor runSkillByName:@"actor_die" frameCount:6];
    } 
    
    [super skillEffect];
}

@end
